#ifndef __UICHANGEBKGNDWND__H__
#define __UICHANGEBKGNDWND__H__

#include <MZFCLIB.h>

#include	"UiBtnSlideWin.h"
#include	"iUiButton.h"
#include	"UiStatusBar.h"
#include	"SHIImaging.h"

typedef enum _tagChangeBkgndBtnDisplay
{
	CHANGE_BKGND_BTN_ONE = 0,
	CHANGE_BKGND_BTN_TWO,
	CHANGE_BKGND_BTN_THREE,
	CHANGE_BKGND_BTN_FOUR,
	CHANGE_BKGND_BTN_FIVE,
	CHANGE_BKGND_BTN_SIX,
	CHANGE_BKGND_BTN_SEVEN,
	CHANGE_BKGND_BTN_EIGHT,
	MAX_CHANGE_BKGND_BTN,
} CHANGE_BKGND_BTN;


class UiChangeBkgndWnd :
	public UiBtnSlideWin
{
public:
	UiChangeBkgndWnd();
	~UiChangeBkgndWnd();

	BOOL InitUiWin(void);
	BOOL UpdateMemDC(HWND hWnd);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
//	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
//	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnChangeBkgnd[MAX_CHANGE_BKGND_BTN];
	ImagingHelper	*m_DChangeBkgndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
	HDC				m_hSnapshotDC;
};

#endif